package com.fla.aiba.repository;

import com.fla.aiba.entity.live.Live;
import com.fla.aiba.entity.user.PhotoAlbum;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by qudingyi on 2017/4/24.
 */
public interface PhotoAlbumRepository extends JpaRepository<PhotoAlbum,Long> {
    List<PhotoAlbum>  findByUserIdOrderByCreateTimeDesc(String userId);
}
